import {
	mapState
} from "vuex"
export default {
	computed: mapState({
		primaryColor: state => state.config.configInfo.primaryColor,
		subColor: state => state.config.configInfo.subColor,
		pageColor: state => state.config.configInfo.pageColor,
		is_app_user: state => state.config.configInfo.is_app_user,
		app_model_type: state => state.config.configInfo.app_model_type,
		recommend_text: state => state.config.recommend_text,
		base_img_url: state => state.config.base_img_url,
		isConsole: state => state.user.isConsole,
		autograph: state => state.user.autograph,
		userInfo: state => state.user.userInfo,
		coachInfo: state => state.user.coachInfo,
		auth_location: state => state.user.auth_location,
		location: state => state.user.location,
		city_info: state => state.user.city_info,
		changeAddr: state => state.user.changeAddr,
		locaRefuse: state => state.user.locaRefuse,
		noChangeLoca: state => state.user.noChangeLoca,
		isChangeCoachLoca: state => state.user.isChangeCoachLoca,
		appCheckLocaStatus: state => state.user.appCheckLocaStatus,
		userCoachStatus: state => state.user.userCoachStatus,
		isUtilLoca: state => state.user.isUtilLoca,
		locationChange: state => state.user.locationChange,
		changeOnAddr: state => state.user.changeOnAddr,
		scanRecordId: state => state.user.scanRecordId,
		appShare: state => state.user.appShare,
		userPrivacySetting: state => state.user.userPrivacySetting,
		portName: state => state.user.portName
	})
}